package ooday03;

public class Dog implements Swim{
    String name;
    int age;
    String color;

    public Dog(String name, int age, String color) {
        this.name = name;
        this.age = age;
        this.color = color;
    }

    @Override
    public void swim() {
        System.out.println("狗会游泳");
    }
}
